Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exchange parameter to AMQP External Rule #170

Merged

Conversation

graham-russell
Copy link
Member

@graham-russell graham-russell commented Dec 13, 2023

This commit adds an exchange parameter to the ably_rule_amqp_external Resource.

The exchange parameter allows specifying a RabbitMQ exchange. If required, this parameter supports interpolation.
See Ably FAQ for information.
If RabbitMQ exchanges are not used, this parameter should not be specified in the Terraform resource.

Addresses #159

@graham-russell graham-russell force-pushed the feature/SDK-3336-amqpexternal-rule-exchange-param branch 6 times, most recently from bd73030 to 2aaa098 Compare December 14, 2023 14:45
@graham-russell graham-russell marked this pull request as ready for review December 14, 2023 15:35
Copy link
Member

@owenpearson owenpearson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM 👍 just a minor grammar suggestion:

docs/resources/rule_amqp_external.md Outdated Show resolved Hide resolved
internal/provider/resource_ably_rule_amqp_external.go Outdated Show resolved Hide resolved
This commit adds an `exchange` parameter to the [ably_rule_amqp_external Resource](https://registry.terraform.io/providers/ably/ably/latest/docs/resources/rule_amqp_external).

The `exchange` parameter allows specifying a RabbitMQ exchange. If required, this parameter supports interpolation.
See [Ably FAQ](https://faqs.ably.com/what-is-the-format-of-the-routingkey-for-an-amqp-or-kinesis-reactor-rule) for information.
If RabbitMQ exchanges are not used, this parameter should not be specified in the Terraform resource.

Addresses #159
Change `targetManditoryRoute` to `targetMandatoryRoute`
@graham-russell graham-russell force-pushed the feature/SDK-3336-amqpexternal-rule-exchange-param branch from 2aaa098 to 8ce94d2 Compare December 15, 2023 09:49
@graham-russell graham-russell merged commit 84c757c into main Dec 15, 2023
2 checks passed
@graham-russell graham-russell deleted the feature/SDK-3336-amqpexternal-rule-exchange-param branch December 15, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants